Skip to content

docs(spec): add RIPR-SPEC-0130 RIPR authority map + legacy conformance fixture (#1761) - #1836

Merged
EffortlessSteven merged 2 commits into
mainfrom
codex/ripR-authority-map-1761
Jul 18, 2026
Merged

EffortlessSteven merged 2 commits into
mainfrom
codex/ripR-authority-map-1761

Conversation

@EffortlessSteven

Copy link
Copy Markdown
Member

Summary

Define the canonical RIPR authority map (12 artifact categories mapped to their paths) and a legacy-dialect conformance fixture. This is dependency-zero for the spec-v2 walking skeleton (#1672/#1673).

Changes

  • New docs/specs/RIPR-SPEC-0130-ripr-authority-map.md (93 lines):
    • 12 artifact categories: agent_instructions, proposals, specifications, adr, plans, goals, traceability, support_tiers, policy_ledgers, receipts, metrics, capabilities
    • Each with canonical path(s) + purpose
    • All required spec sections (Problem, Behavior, Required Evidence, Non-Goals, Acceptance Examples, Test Mapping, Implementation Mapping, Metrics)
  • New .allow/conformance/legacy-dialect.json: asserts .ripr/goals/active.toml + .ripr/traceability.toml parse without error (consumed by cargo-allow spec-system profile, advisory)
  • docs/specs/README.md: registered SPEC-0130

Proof

cargo xtask check-spec-format       # exit 0
cargo xtask check-spec-numbering    # exit 0
cargo xtask check-doc-index         # exit 0

Why

This is slice #1761 of #1673. A consumer (cargo-allow, the context compiler #1632, a report generator) that needs to navigate RIPR's source-of-truth artifacts currently has to know each path individually. The authority map gives them a single declarative reference. The conformance fixture proves the legacy TOML dialects parse cleanly.

Non-goals

@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@coderabbitai

coderabbitai Bot commented Jul 18, 2026 •

Copy link
Copy Markdown

Review Change Stack

Summary by CodeRabbit

  • New Features

    • Added a proposed authority map documenting canonical locations for RIPR artifacts.
    • Added conformance coverage for parsing legacy RIPR TOML dialects and validating expected schemas.
  • Documentation

    • Added the authority map specification to the specifications index.
    • Documented artifact paths, validation expectations, acceptance criteria, and required supporting evidence.

Walkthrough

Adds RIPR-SPEC-0130, documenting canonical paths for RIPR artifacts, and introduces a cargo-allow conformance fixture for parsing legacy goal and traceability TOML dialects.

Changes

RIPR authority map

Layer / File(s) Summary
Authority map contract
docs/specs/RIPR-SPEC-0130-ripr-authority-map.md, docs/specs/README.md
Defines canonical artifact categories and paths, documents evidence and acceptance requirements, and registers the proposed specification in the index.
Legacy dialect conformance fixture
.allow/conformance/legacy-dialect.json, docs/specs/RIPR-SPEC-0130-ripr-authority-map.md
Declares expected schemas, dialect identifiers, sections, and TOML parsing mode for legacy goal and traceability files, with documented validation touchpoints.

Estimated code review effort: 2 (Simple) | ~10 minutes

Poem

I’m a rabbit with a map in my paws,
Hopping through paths and parsing old laws.
TOML files whisper, “We still belong!”
A conformance fixture proves them strong.
New specs bloom where canonical trails run.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description covers summary, changes, proof, why, and non-goals, but omits many required template sections like links, scope, and rollback. Add the missing template sections, especially source-of-truth links, scope/classification, impact notes, claim boundary, rollback, and traceability.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly names the new RIPR authority map and legacy conformance fixture.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/ripR-authority-map-1761

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ad273433dc

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .allow/conformance/legacy-dialect.json Resolved
Codex added 2 commits July 18, 2026 14:56
…e fixture (#1761)

Define the canonical authority map mapping 12 artifact categories
(agent_instructions, proposals, specifications, adr, plans, goals,
traceability, support_tiers, policy_ledgers, receipts, metrics,
capabilities) to their canonical paths. Add a legacy-dialect
conformance fixture asserting .ripr/goals/active.toml and
.ripr/traceability.toml parse without error.

This is dependency-zero for the spec-v2 walking skeleton (#1672):
cargo-allow and the context compiler (#1632) consume the authority map
to find every source-of-truth artifact without guessing paths.

Proof: cargo xtask check-spec-format, check-spec-numbering,
check-doc-index all exit 0.
@EffortlessSteven
EffortlessSteven force-pushed the codex/ripR-authority-map-1761 branch from 14dbb1b to e88fc59 Compare July 18, 2026 18:56

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/specs/RIPR-SPEC-0130-ripr-authority-map.md`:
- Around line 5-9: Resolve the conflicting authority definitions in the
specification: either designate one canonical source and document how
policy/doc-artifacts.toml and .allow/profiles/spec-system.toml are generated,
synchronized, and validated, or narrow the scope to document-only guidance and
remove the promise that consumers can avoid a parallel ledger. Update the
non-goals and implementation mapping consistently.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 08654f41-d401-4343-85f3-fa9b6bce1e16

📥 Commits

Reviewing files that changed from the base of the PR and between f18ad0a and e88fc59.

📒 Files selected for processing (3)
  • .allow/conformance/legacy-dialect.json
  • docs/specs/README.md
  • docs/specs/RIPR-SPEC-0130-ripr-authority-map.md
🔗 Linked repositories identified

CodeRabbit considers these linked repositories for cross-repo context during reviews:

  • EffortlessMetrics/ripr (auto-detected)
  • EffortlessMetrics/perl-lsp (auto-detected)
  • EffortlessMetrics/unsafe-review (auto-detected)
  • EffortlessMetrics/ub-review (auto-detected)

@EffortlessSteven
EffortlessSteven merged commit ee6c515 into main Jul 18, 2026
20 of 24 checks passed
@EffortlessSteven
EffortlessSteven deleted the codex/ripR-authority-map-1761 branch July 18, 2026 19:03
@coderabbitai coderabbitai Bot mentioned this pull request Jul 18, 2026
13 tasks done
EffortlessSteven added a commit that referenced this pull request Jul 18, 2026
Rename the release SHA256 sidecar manifest from checksums.txt to SHA256SUMS
(ecosystem convention for `sha256sum -c`). Content format unchanged. Also
cleans up/excludes a stale legacy checksums.txt on a reused dist/ run.

Verified locally; required CI lanes were red on pre-existing main breakage
unrelated to this diff (#1836's unlisted .allow/conformance/legacy-dialect.json
fails check-file-policy; the goals-audit repository_inventory fixture fails
under llvm-cov). This diff passes cargo test -p xtask, fmt, clippy,
check-doc-index, and check-file-policy locally in isolation.

Closes #1727
EffortlessSteven added a commit that referenced this pull request Jul 18, 2026
…es main breakage from #1836) (#1848)

The conformance fixture .allow/conformance/legacy-dialect.json was
added in #1836 (authority map) without a non-rust-allowlist entry,
breaking check-file-policy on main. Add the entry.

This is a main-unblock fix: CI was failing on every subsequent PR
because check-file-policy is a required gate.

Proof: cargo xtask check-file-policy (exit 0).

Co-authored-by: Codex <codex@example.invalid>
EffortlessSteven added a commit that referenced this pull request Jul 18, 2026
…isory corpus entry (#1729)

The evidence-promotion-honesty gate iterates its corpus language-agnostically,
so the tier-`pure` `source_report` Perl charter case
(`perl_preview_card_advisory_no_repair_packet`) is already enforced on every
default `check-evidence-promotion-honesty` run. This adds the proof #1729 asked
for, with no production behavior change:

- `evidence_promotion_honesty_catches_dishonest_perl_advisory_rebless`: a
  red/green witness — an honest advisory report stays clean, a dishonest
  re-bless to `exposed` trips the `must_not_promote` assertion.
- `perl_advisory_charter_case_stays_enforced_in_live_corpus`: guards the real
  corpus so a future silent demotion/removal of the Perl entry is caught.
- Both registered under RIPR-SPEC-0108 in the traceability map.

Verified locally (both tests + real gate green, fmt/clippy/static-language
clean). Adversarial review verdict: solid. Required "Ripr Rust Small" CI lane is
red on pre-existing main breakage unrelated to this diff (#1836's unlisted
.allow/conformance/legacy-dialect.json fails check-file-policy; fix in flight in
PR #1846).

Closes #1729
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant